﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Customer.Domain.Dto
{
    public class RefundListDto
    {
        /// <summary>
        /// 退货表id
        /// </summary>
        public int RefundId { get; set; }

        /// <summary>
        /// 退货编号
        /// </summary>
        public string? RefundCode { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 是否退货
        /// </summary>
        public int? IsRefund { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string? Pcontact { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 采购id
        /// </summary>
        public int? ProcurementId { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductsId { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int? RefundNum { get; set; }

        /// <summary>
        /// 销售id
        /// </summary>
        public int? SalesId { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductsCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductsName { get; set; }
        /// <summary>
        /// 厂商编码
        /// </summary>
        public string? VendorsCode { get; set; }
        /// <summary>
        /// 内部编码
        /// </summary>
        public string? InteriorCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public int? ProductTypeID { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public string? StorageUnits { get; set; }
        /// <summary>
        /// 预警（上）
        /// </summary>
        public int? Upperlimit { get; set; }
        /// <summary>
        /// 预警（下）
        /// </summary>
        public int? Lowerlimit { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public int? WrapType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public int? StorehouseId { get; set; }
        /// <summary>
        /// 默认供应商
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 默认客户
        /// </summary>
        public int? ClientId { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Describe { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? ProcurementNum { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }


        /// <summary>
        /// 采购单号
        /// </summary>
        public string? ProcurementCode { get; set; }

        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VendorCode { get; set; }

    }
}
